import {createRouter, RouteRecordRaw, createWebHistory} from "vue-router";

const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        component: () => import("../views/login/index.vue")
    },
    {
        path: '/home',
        component: () => import("../views/dashboard/index.vue")
    }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router